package com.ruoyi.hospital.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户宠物信息对象 customer_pet
 * 
 * @author qichi
 * @date 2023-07-04
 */
public class CustomerPet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 宠物id */
    private Long id;

    /** 租户id */
    @Excel(name = "租户id")
    private Long tenantId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 宠物年龄 */
    @Excel(name = "宠物年龄")
    private Long age;

    /** 宠物名称 */
    @Excel(name = "宠物名称")
    private String name;

    /** 宠物类型 */
    @Excel(name = "宠物类型")
    private Integer type;

    /** 毛色 */
    @Excel(name = "毛色")
    private String coatColor;

    /** 体重 */
    @Excel(name = "体重")
    private String weight;

    /** 宠物照片url */
    @Excel(name = "宠物照片url")
    private String photoUrl;

    /** 宠物性别 */
    @Excel(name = "宠物性别")
    private Integer sex;

    /** 客户id */
    @Excel(name = "客户id")
    private Long customerId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    public String getCoatColor() {
        return coatColor;
    }

    public void setCoatColor(String coatColor) {
        this.coatColor = coatColor;
    }

    public void setWeight(String weight)
    {
        this.weight = weight;
    }

    public String getWeight() 
    {
        return weight;
    }
    public void setPhotoUrl(String photoUrl) 
    {
        this.photoUrl = photoUrl;
    }

    public String getPhotoUrl() 
    {
        return photoUrl;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("deptId", getDeptId())
            .append("age", getAge())
            .append("name", getName())
            .append("type", getType())
            .append("coatColor", getCoatColor())
            .append("weight", getWeight())
            .append("photoUrl", getPhotoUrl())
            .append("sex", getSex())
            .append("createBy", getCreateBy())
            .append("customerId", getCustomerId())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
